package com.shoeshopping.formbean.joseph;

public class UserForm {
	private String username;
	private String password;
	private String repassword;
	private String email;
	
	public boolean isSamePassoword(){
		return password.equals(repassword);
	}
	public boolean canBeRegister(){
		if(username==null||username.equals(""))
			return false;
		if(password==null||password.equals(""))
			return false;
		if(email==null||email.equals(""))
			return false;
		return isSamePassoword();
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRepassword() {
		return repassword;
	}
	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}

}
